var app=angular.module('app',[]);
app.controller('controllerA', ['$scope', function($scope){
	$scope.person={greeted:false};
}]);
app.controller('controllerB', ['$scope', function($scope){
	$scope.sayHello = function(){
		$scope.person.name="控制器";
	}
}]);
